package com.jk.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Field;

/***
 * @ClassName: SharingPO
 * @Description:TODO
 * @Auther: 王宇超
 * @Date: 2021/6/30 15:11
 * @version : V1.0
 */
@Data
@TableName(value = "travel_sharing")
@ApiModel("游记实体类")
public class SharingPO{
    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty("游记主键编号")
    private Integer id;
    @TableField(value = "travelstitle")
    @ApiModelProperty("游记标题")
    private String travelstitle;
    @TableField(value = "traveltime")
    @ApiModelProperty("出行时间")
    private String traveltime;
    @TableField(value = "numberofpeople")
    @ApiModelProperty("旅游人数")
    private Integer numberofpeople;
    @TableField(value = "traveldays")
    @ApiModelProperty("出行天数")
    private Integer traveldays;
    @TableField(value = "hotelname")
    @ApiModelProperty("入住酒店的名称")
    private String hotelname;
    @TableField(value = "consumption")
    @ApiModelProperty("人均消费整形数据")
    private Integer consumption;
    @TableField(value = "popularity")
    @ApiModelProperty("游记浏览热度")
    private Integer popularity;
    @TableField(value = "sharer")
    @ApiModelProperty("分享游记的账户")
    private String sharer;
    @TableField(value = "cover")
    @ApiModelProperty("封面")
    private String cover;
    @TableField(value = "sharewen")
    @ApiModelProperty("分享文章")
    private String sharewen;
    @TableField(value = "customerid")
    @ApiModelProperty("关联客户id")
    private Integer customerid;
    @TableField(value = "website")
    @ApiModelProperty("关联网站地址id")
    private String website;
}
